"use strict";

/**
 * API
 */
//------------------------------------------------------------------
import vtuzxHttp from "./vtuzx-http";
//------------------------------------------------------------------

export default {
  testGet(data, opts = { need_token: false }) {
    return vtuzxHttp.redirect("/v1.0/test_get", data, opts);
  },
  testJson(data, opts = { need_token: false }) {
    return vtuzxHttp.json("/v1.0/test_json", data, opts);
  },
  testUpload(data, opts = { need_token: false }) {
    return vtuzxHttp.form("/v1.0/test_upload", data, opts);
  },
  testDownload(data, opts = { need_token: false }) {
    return vtuzxHttp.download("/v1.0/test_download", data, opts);
  }
};
